//
//  EDSCommonNetworkRequest.m
//  DriveSchoolCoach
//
//  Created by TangBin on 2019/8/1.
//  Copyright © 2019 TangBin. All rights reserved.
//

#import "EDSCommonNetworkRequest.h"

@implementation EDSCommonNetworkRequest

+ (instancetype)sharedInstance
{
    static EDSCommonNetworkRequest *_instance;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _instance = [[[self class] alloc] init];
    });
    return _instance;
}

/**
 同一方法，请求接口后发送最终的结果
 
 @param rspObj rspObj description
 @param completion completion description
 */
- (void)sendResponseObject:(id)rspObj completion:(RequestCompletionBlock)completion
{
    if (completion)
    {
        completion(rspObj);
    }
}



@end
